package com.yunhe.common.constant;

public class KafkaConsts {

    public final class Group {

        /***********************************通用-开始***********************************/
        /**
         * 设备调试日志
         */
        public static final String DeviceDebugLog = "DeviceDebugLog";
        /**
         * 能量单元调试
         */
        public static final String EnergyUnitDebug = "EnergyUnitDebug";
        /***********************************通用-结束***********************************/

        /***********************************电站相关-开始***********************************/
        /**
         * 更新电站状态
         */
        public static final String StationStatus = "StationStatus";
        /**
         * 更新电站基本信息
         */
        public static final String StationBaseInfo = "StationBaseInfo";
        /**
         * 电站有效性更新完成
         */
        public static final String StationActivityFinish = "StationActivityFinish";
        /***********************************电站相关-结束***********************************/

        /***********************************告警相关-开始***********************************/
        /**
         * 历史告警重算
         */
        public static final String AlarmRecalculate = "AlarmRecalculate";
        /**
         * 告警处理
         */
        public static final String AlarmProcesses = "alarmProcesses";
        /**
         * 告警实时计算
         */
        public static final String AlarmCalculation = "AlarmCalculation";
        /**
         * 告警规则实例处理
         */
        public static final String AlarmRuleInstanceProcess = "AlarmRuleInstanceProcess";
        /**
         * 告警通知配置处理
         */
        public static final String AlarmNotifyConfigProcess = "AlarmNotifyConfigProcess";
        /**
         * 告警云能APP推送
         */
        public static final String AlarmAppPush = "AlarmAppPush";
        /**
         * 告警短信推送
         */
        public static final String AlarmSmsPush = "AlarmSmsPush";
        /**
         * 告警PowerPlusApp推送
         */
        public static final String AlarmPowerPlusAppPush = "AlarmPowerPlusAppPush";
        /**
         * 健康状态更新
         */
        public static final String HealthStatus = "HealthStatus";
        /**
         * 电站新增心跳点号告警
         */
        public static final String StationHeartBeatAlarmRule = "StationHeartBeatAlarmRule";
        /***********************************告警相关-结束***********************************/

        /***********************************电池分析相关-开始***********************************/
        /**
         * 运行状态
         */
        public static final String WorkStatus = "WorkStatus";
        /**
         * 运行状态_储能单元
         */
        public static final String StorageWorkStatus = "StorageWorkStatus";
        /**
         * 运行状态_新能源发电设备
         */
        public static final String NewGenerationWorkStatus = "NewGenerationWorkStatus";
        /**
         * 运行状态_发电机
         */
        public static final String GenerationWorkStatus = "GenerationWorkStatus";
        /**
         * 运行状态_用能单元
         */
        public static final String LoadWorkStatus = "LoadWorkStatus";
        /**
         * 并网状态
         */
        public static final String GridConnectStatus = "GridConnectStatus";
        /***********************************电池分析相关-结束***********************************/

        /**
         * 点号自动生成
         */
        public static final String AutoGenerateAnalog = "AutoGenerateAnalog";
        /**
         * 历史辐照补录
         */
        public static final String IrradianceHistory = "irradianceHistory";
        /**
         * 光伏电站发电量补录
         */
        public static final String SolarStationGeneration = "solarStationGeneration";
        /**
         * 量测重传_分析相关重算
         */
        public static final String MeasurementRetryAnalysis = "MeasurementRetryAnalysis";
        /**
         * 量测重传_电池极值重算
         */
        public static final String BatteryExtremumRecalculate = "BatteryExtremumRecalculate";
        /**
         * 量测重传_收益相关重算
         */
        public static final String MeasurementRetryProfit = "MeasurementRetryProfit";
        /**
         * 策略下发
         */
        public static final String RunStrategyDistribute = "RunStrategyDistribute";
        /**
         * 家储
         */
        public static final String HemsGroupId = "HemsAPP";
        /**
         * 家储运行模式
         */
        public static final String HemsRunningMode = "HemsRunningMode";
        /**
         * 随机GroupId
         */
        public static final String RandomGroupId = "#{T(java.util.UUID).randomUUID().toString()}";
        /**
         * 创建电源设备
         */
        public static final String CreatePowerDevice = "CreatePowerDevice";
        /**
         * 虚拟点号计算
         */
        public static final String VirtualAnalogCalculate = "VirtualAnalogCalculate";
        /**
         * 虚拟点号计算
         */
        public static final String AlarmDpuFile = "AlarmDpuFile";
    }

    public final class Topic {
        /**
         * 点号实时值更新
         */
        public static final String Realtime = "Realtime";
        /**
         * 自定义实时值topic
         */
        public static final String CustomRealtime = "CustomRealtime";
        /**
         * 历史量测刷新
         */
        public static final String MeasurementRefresh = "MeasurementRefresh";
        /**
         * 更新电站有效性Topic
         */
        public static final String StationActivity = "UpdateStationActivity";
        /**
         * 负电价Topic
         */
        public static final String NegativeElectricityPrice = "NegativeElectricityPrice";
        /**
         * 新增电站关口开关Topic
         */
        public static final String CreateGatewayBreaker = "CreateGatewayBreaker";
        /**
         * 更新电站状态Topic
         */
        public static final String StationStatus = "StationStatus";
        /**
         * 更新电站基本信息Topic
         */
        public static final String StationBaseInfo = "StationBaseInfo";
        /**
         * 电站容量Topic
         */
        public static final String StationScale = "UpdateStationScale";
        /**
         * 电站投产时间Topic
         */
        public static final String StationProductionTime = "UpdateStationProductionTime";
        /**
         * 电站有效性更新完成Topic
         */
        public static final String StationActivityFinish = "StationActivityFinish";
        /**
         * 能量单元投产时间Topic
         */
        public static final String EnergyUnitProductionTime = "UpdateEnergyUnitProductionTime";
        /**
         * 更新Vpp虚拟点号
         */
        public static final String UpdateVppVirtualAnalog = "UpdateVppVirtualAnalog";
        /**
         * 更新电站光伏容量和储能容量
         */
        public static final String UpdatePvCapacityAndBuCapacity = "UpdateStationPvCapacityBuCapacity";
        /**
         * 新增电站默认能量单元topic
         */
        public static final String CreateDefaultEnergyUnit = "CreateDefaultEnergyUnit";
        /**
         * 实时告警变化topic
         */
        public static final String AlarmEventRefresh = "AlarmEventRefresh";
        /**
         * 量测重传topic todo 后续该字段中电站字段为为通配符方式
         */
        public static final String MeasurementRetry = "data-measurement-recollect-*";
        /**
         * 用户变化
         */
        public static final String UserRefresh = "UserRefresh";
        /**
         * 单位变化
         */
        public static final String FirmRefresh = "FirmRefresh";
        /**
         * 电站变化
         */
        public static final String StationRefresh = "StationRefresh";
        /**
         * 能量单元变化
         */
        public static final String EnergyUnitRefresh = "EnergyUnitRefresh";
        /**
         * 设备变化
         */
        public static final String DeviceRefresh = "DeviceRefresh";
        /**
         * 推送点号历史补传
         */
        public static final String NotifyHistoryMeas = "NotifyHistoryMeas";
        /**
         * 异常规则变化
         */
        public static final String AlarmRuleRefresh = "AlarmRuleRefresh";
        /**
         * 新增告警推送
         */
        public static final String CreateAlarm = "CreateAlarm";
        /**
         * 新增告警推送
         */
        public static final String ClearAlarm = "ClearAlarm";
        /**
         * 数据补录topic
         */
        public static final String Recollect = "Recollect";
        /**
         * 数据补招topic
         */
        public static final String RecollectOrder = "RecollectOrder";
        /**
         * 心跳断开
         */
        public static final String StationDisconnected = "StationDisconnected";
        /**
         * 心跳连接
         */
        public static final String StationConnected = "StationConnected";
        /**
         * 新增电站心跳告警
         */
        public static final String CreateStationHeartBeatAlarm = "CreateStationHeartBeatAlarmTopic";
        /**
         * 策略下发
         */
        public static final String RunStrategyDistribute = "RunStrategyDistribute";
        /**
         * 获取本地策略
         */
        public static final String LocalRunStrategy = "LocalRunStrategy";
        /**
         * 策略下发结果
         */
        public static final String RunStrategyDistributeResult = "RunStrategyDistributeResult";
        /**
         * 获取本地策略结果
         */
        public static final String LocalRunStrategyResult = "LocalRunStrategyResult";
        /**
         * 告警更新
         */
        public static final String AlarmNotify = "AlarmNotify";
        /**
         * 新增默认运行模式
         */
        public static final String DefaultRunningMode = "DefaultRunningMode";
        /**
         * 新增告警推送记录
         */
        public static final String AlertNotify = "AlertNotify";
        /**
         * 新增系统推送记录
         */
        public static final String NoticeNotify = "NoticeNotify";
        /**
         * 天气实时值更新
         */
        public static final String WeatherUpdate = "WeatherUpdate";
        /**
         * 调试状态变化
         */
        public static final String DebugStatusRefresh = "DebugStatusRefresh";
        /**
         * 检修状态变化
         */
        public static final String MaintenanceStatusRefresh = "MaintenanceStatusRefresh";
        /**
         * 当前运行策略变化
         */
        public static final String CurrentRunStrategyRefresh = "CurrentRunStrategyRefresh";
        /**
         *  云端下发到DPU的告警配置文件变化
         */
        public static final String AlarmDpuFileRefresh = "AlarmDpuFileRefresh";
    }
}
